package com.bxji.spring.ms.provider.service;

import org.springframework.stereotype.Service;

import com.bxji.spring.ms.commons.domain.User;

/**
 * 服务消费者服务类，调用服务提供者提供的服务，实现业务
 * 
 * @author bxji
 *
 */
@Service
public class MyTestService {

    public User getUser(Long id, String name, int age) {
        User user = new User();
        user.setId(id);
        user.setName(name);
        user.setAge(age);
        return user;
    }

}
